<%@ page language="java" pageEncoding="UTF-8"%>
<% 
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort();
 %>
<div class="header">
<h3 class="logo"><img src="${ctx}/images/logo.png" width=50 height=40 /></h3>
<h4 class="sysname">竞价采购系统- <span id="ths_title"></span></h4>
<script>
	function openUrl(url){
		window.location.href=url;
	}
</script>
<ul class="t_nav">
	<li>${loginUser.userCname }，欢迎登录！</li>
	<c:if test="${!empty licenseTodata}">
		<li>您的license授权还有<font color="red"><B>${licenseTodata }</B></font>天到期</li>
	</c:if>
	<li class="menus-item"><a class="dropdown" href="${ctx}/index.action" target="_blank">返回竞价</a></li>
    <li class="menus-item"><a href="${ctx}/sendPage/notice/notice-list">我的消息<span class="numtip" id="noticeNum">0</span></a>
    </li>
    <li class="menus-item"><a href="javascript:void(0)">系统管理<b class="caret"></b></a>
      <ul class="submenus">
        <li class="submenus-item"> <a href="${ctx}/sendPage/admin/frame/variety">标的类型管理</a></li>
        <li class="submenus-item"> <a href="${ctx}/sendPage/admin/frame/org">竞价组织方管理</a></li>
        <!-- <li class="submenus-item"> <a href="${ctx}/sendPage/admin/frame/bidMode">竞价方式管理</a></li> -->
        <li class="submenus-item"> <a href="${ctx}/sendPage/admin/frame/template">通知书模板管理</a></li>
        <li class="submenus-item"> <a href="${ctx}/sendPage/admin/frame/server">报价服务器管理</a></li>
        <!-- li class="submenus-item"> <a href="${ctx}/sendPage/admin/frame/content">竞价大厅规则</a></li -->
        <li class="submenus-item"> <a href="${ctx}/workday/index.jsp">工作日管理</a></li>
        <uct:uctTag actFullEname="/uct">
        	<li class="submenus-item"> <a href="${uct_server}/" target="_blank">用户中心</a></li>
        </uct:uctTag> 
        <li class="submenus-item"> <a href="${ctx}/task/list.action">定时任务管理</a></li>
      </ul>
    </li>
    <li class="menus-item"><a href="javascript:void(0)">快速通道<b class="caret"></b></a>
      <ul class="submenus">
      	<li class="submenus-item"><a class="dropdown" href="http://portal.dwusoft.com/doSendPage?toPage=toItem" target="_blank">竞价大厅-[新]</a></li>
	   	<li class="submenus-item"><a class="dropdown" href="http://portal.dwusoft.com/doSendPage?toPage=toCaiguoSe" target="_blank">采购大厅-[新]</a></li>
	   	<li class="submenus-item"><a class="dropdown" href="${ctx}/sendPage/hall/index" target="_blank">竞价大厅-[旧]</a></li>
	   	<li class="submenus-item"><a class="dropdown" href="${ctx}/sendPage/hall/caigou" target="_blank">采购大厅-[旧]</a></li>
	   	<li class="submenus-item"><a class="dropdown" href="${ctx}/sendPage/hall/dtbj" target="_blank">动态报价-[旧]</a></li>
      </ul>
    </li>
    <li class="menus-item"><a href="javascript:void(0)" onclick="logout()">退出</a></li>
</ul>
</div>
<div class="l_nav">
  <ul>
    
    <li onclick="openUrl('${ctx}/sendPage/admin/frame/zhuanchang')" class="menus-item icon02"><a class="dropdown" href="javascript:void(0)">竞价专场</a>
      
    </li>
     
  </ul>
</div>
<div class="footer ">
  <div class=" footer-bottom"  id="bottom"></div>
</div>
<script>
	if(thsTitle.length > 30){
		$("#ths_title").html(thsTitle.substr(0, 20)+'...');
	}else{
		$("#ths_title").html(thsTitle);
	}
	function logout(){
		$.messager.confirm('提示', '您确定工作已经保存，并退出该系统?', function(r){
			if (r){					
				location.href = '${ctx}/logout?go=<%=basePath %>${ctx}/';
			}
		});
	}
 
</script>
